<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>menu</title>
</head>
<body>
<!--
用法:
<div th:insert="~{ /common/common_menu:: menus}"></div>
-->
<div th:fragment="menus">
    <!--左侧导航栏-->
    <div class="col-xs-12 col-sm-3 col-lg-2 left-menu">
        <div class="panel panel-default" id="menus">
            <!--版本管理 关闭伸缩-->
<!--            <div class="panel-heading" role="button" data-toggle="collapse" href="#collapseExample"-->
            <div class="panel-heading" href="#collapseExample"
                 aria-expanded="false" aria-controls="collapseExample"
                 style="border-top: 1px solid #ddd;border-radius: 0%">
                <h4 class="panel-title">版本管理菜单</h4>
                <a class="panel-collapse" data-toggle="collapse" href="#collapseExample" aria-expanded="true">
<!--                    <i class="glyphicon glyphicon-chevron-down"></i>-->
                </a>
            </div>
            <ul class="list-group menus collapse in" id="collapseExample">
                <a th:href="@{/version/version}" class="list-group-item" id="m_version">
                    <i class="glyphicon glyphicon-th-list" aria-hidden="true"></i>
                    <span class="pull-right"></span>
                    用户版本管理
                </a>
            </ul>
            <!--版本管理 end-->



            <!--网站配置管理菜单 关闭伸缩-->
            <!--            <div class="panel-heading" role="button" data-toggle="collapse" href="#collapseExample3"-->
            <div class="panel-heading" href="#collapseExample3"
                 aria-expanded="false" aria-controls="collapseExample">
                <h4 class="panel-title">系统配置</h4>
                <a class="panel-collapse" data-toggle="collapse" href="#collapseExample3" aria-expanded="true">
                    <!--                    <i class="glyphicon glyphicon-chevron-down"></i>-->
                </a>
            </div>
            <ul class="list-group menus collapse in">
                <a class="list-group-item" id="m_module" th:href="@{/local/module}">
                    <i aria-hidden="true" class="glyphicon glyphicon-th-list"></i>
                    <span class="pull-right" href="#"></span>
                    本地模块配置
                </a>
                <a class="list-group-item" th:href="@{/base/server}" id="m_server">
                    <i class="glyphicon glyphicon-th-list" aria-hidden="true"></i>
                    <span class="pull-right" href="#"></span>
                    服务器配置
                </a>
                <a class="list-group-item" th:href="@{/key/key}" id="m_key">
                    <i class="glyphicon glyphicon-th-list" aria-hidden="true"></i>
                    <span class="pull-right" href="#"></span>
                    服务器公钥配置
                </a>
            </ul>
            <!--网站配置管理菜单 end-->

            <!--本地/远程视图 关闭伸缩-->
            <!--            <div class="panel-heading" role="button" data-toggle="collapse" href="#collapseExample2"-->
            <div class="panel-heading" href="#collapseExample2"
                 aria-expanded="false" aria-controls="collapseExample">
                <h4 class="panel-title">本地/远程视图</h4>
                <a class="panel-collapse" data-toggle="collapse" href="#collapseExample2" aria-expanded="true">
                    <!--                    <i class="glyphicon glyphicon-chevron-down"></i>-->
                </a>
            </div>
            <ul class="list-group menus collapse in" id="collapseExample2">
                <a href="#" th:href="@{/remote/service}" class="list-group-item" id="m_service">
                    <i class="glyphicon glyphicon-th-list" aria-hidden="true"></i>
                    <span class="pull-right"></span>
                    远程视图
                </a>
                <a class="list-group-item" href="#" id="m_view" th:href="@{/local/view}">
                    <i class="glyphicon glyphicon-th-list" aria-hidden="true"></i>
                    <span class="pull-right"></span>
                    本地关联视图
                </a>
            </ul>
            <!--本地模块管理 end-->

            <!--网站配置管理菜单 关闭伸缩-->
            <!--            <div class="panel-heading" role="button" data-toggle="collapse" href="#collapseExample3"-->
            <div class="panel-heading" href="#collapseExample4"
                 aria-expanded="false" aria-controls="collapseExample">
                <h4 class="panel-title">项目部署</h4>
                <a class="panel-collapse" data-toggle="collapse" href="#collapseExample4" aria-expanded="true">
                </a>
            </div>
            <ul class="list-group menus collapse in">
                <a class="list-group-item" id="m_publish" th:href="@{/remote/publish}">
                    <i aria-hidden="true" class="glyphicon glyphicon-th-list"></i>
                    <span class="pull-right" href="#"></span>
                    模块更新
                </a>
            </ul>
            <!--网站配置管理菜单 end-->
        </div>
    </div>
    <!--左侧导航栏-->
</div>
</body>
</html>